<template>
  <div class="footer-text">
    <span class="deco" v-if="isDeco">{{ deco }}</span>
    <slot></slot>
    <span class="deco" v-if="isDeco">{{ deco }}</span>
  </div>
</template>
<script name="FooterText" setup>
import { ref } from "vue";
const props = defineProps({
  // 左右修饰
  deco: {
    type: String,
    default: "·",
  },
  isDeco: {
    type: Boolean,
    default: true,
  },
});
</script>
<style lang="scss" scoped>
.footer-text {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-family: PingFangSC, PingFang SC;
  font-weight: 400;
  color: #b9bdbd;
  line-height: 17px;
  padding: 16px 0;
  .deco {
    font-size: 24px;
    color: #b9bdbd;
    margin: 0 10px;
  }
}
</style>